﻿namespace KeRui.Common.IP
{
    using System;

    public class RestrictionIPResult
    {
        private long _endip;
        private bool _ischecked;
        private long _startip;

        public RestrictionIPResult(bool ischecked, long ip1, long ip2)
        {
            this.IsChecked = ischecked;
            this.StartIP = ip1;
            this.EndIP = ip2;
        }

        public long EndIP
        {
            get
            {
                return this._endip;
            }
            set
            {
                this._endip = value;
            }
        }

        public bool IsChecked
        {
            get
            {
                return this._ischecked;
            }
            set
            {
                this._ischecked = value;
            }
        }

        public long StartIP
        {
            get
            {
                return this._startip;
            }
            set
            {
                this._startip = value;
            }
        }
    }
}

